const Mock = require("mockjs")

const data = Mock.mock({
    'list|20': [{
        id: "@id",
        img: "@image(150x110,@color)",
        type: /(新房)|(二手房)|(1室)|(2室)|(3室)|(四室)|(不限)/,
        title: "@ctitle(16,18)",
        'price|2000-80000': 1,
        citys: /(区域)|(附近)|(地铁)|(上海)|(北京)|(江苏)/,
        screen: /(东)|(南)|(西)|(北)|(南北)/,
    }]
})

module.exports = data.list